package com.ruoyi.information.domain.back;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 一键联系对象 apply_contact
 *
 * @author ruoyi
 * @date 2023-05-16
 */
public class ApplyContactBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司规模 */
    @Excel(name = "公司规模")
    private String companyScale;

    /** 意向城市 */
    @Excel(name = "意向城市")
    private String intentionCity;

    /** 所需载体类型 */
    @Excel(name = "所需载体类型")
    private String applyType;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 处理状态0待处理1已处理 */
    @Excel(name = "处理状态0待处理1已处理")
    private Long handleType;

    /** 处理意见 */
    @Excel(name = "处理意见")
    private String handleNote;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0有效1失效 */
    @Excel(name = "状态0有效1失效")
    private Long state;

    /** 是否删除0否1是 */
    @Excel(name = "是否删除0否1是")
    private Long dr;

    /** 点击时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "点击时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clickTime;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginTime;

    /** 展示位置 */
    @Excel(name = "展示位置")
    private String showPlace;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCompanyScale(String companyScale)
    {
        this.companyScale = companyScale;
    }

    public String getCompanyScale()
    {
        return companyScale;
    }
    public void setIntentionCity(String intentionCity)
    {
        this.intentionCity = intentionCity;
    }

    public String getIntentionCity()
    {
        return intentionCity;
    }
    public void setApplyType(String applyType)
    {
        this.applyType = applyType;
    }

    public String getApplyType()
    {
        return applyType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setHandleType(Long handleType)
    {
        this.handleType = handleType;
    }

    public Long getHandleType()
    {
        return handleType;
    }
    public void setHandleNote(String handleNote)
    {
        this.handleNote = handleNote;
    }

    public String getHandleNote()
    {
        return handleNote;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setDr(Long dr)
    {
        this.dr = dr;
    }

    public Long getDr()
    {
        return dr;
    }
    public void setClickTime(Date clickTime)
    {
        this.clickTime = clickTime;
    }

    public Date getClickTime()
    {
        return clickTime;
    }
    public void setLoginTime(Date loginTime)
    {
        this.loginTime = loginTime;
    }

    public Date getLoginTime()
    {
        return loginTime;
    }
    public void setShowPlace(String showPlace)
    {
        this.showPlace = showPlace;
    }

    public String getShowPlace()
    {
        return showPlace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("companyName", getCompanyName())
            .append("companyScale", getCompanyScale())
            .append("intentionCity", getIntentionCity())
            .append("applyType", getApplyType())
            .append("name", getName())
            .append("phone", getPhone())
            .append("handleType", getHandleType())
            .append("handleNote", getHandleNote())
            .append("note", getNote())
            .append("sort", getSort())
            .append("state", getState())
            .append("dr", getDr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("clickTime", getClickTime())
            .append("loginTime", getLoginTime())
            .append("showPlace", getShowPlace())
            .toString();
    }
}
